fixed links, enhanced tests for status and statusText
diff --git a/XMLHttpRequest/status-async.htm b/XMLHttpRequest/status-async.htm index 10800c3..dd1ca56 100644 --- a/XMLHttpRequest/status-async.htm +++ b/XMLHttpRequest/status-async.htm
@@ -4,8 +4,8 @@ <title>XMLHttpRequest: status/statusText - various responses</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> - <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-status-attribute" data-tested-assertations="following::ol/li[3]" /> - <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-statustext-attribute" data-tested-assertations="following::ol/li[3]" /> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-status-attribute" data-tested-assertations="following::ol/li[1] following::ol/li[3]" /> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-statustext-attribute" data-tested-assertations="following::ol/li[1] following::ol/li[3]" /> <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-getresponseheader()-method" data-tested-assertations="following::ol/li[5]" /> <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-responsetext-attribute" data-tested-assertations="following::ol/li[4]" /> </head> @@ -33,6 +33,9 @@ } test.done() } + }else{ + assert_equals(client.status, 0) + assert_equals(client.statusText, "") } }, this) }